import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppRoutingModule } from './app-routing.module';

import { AppComponent } from './app.component';
import { BaseHeaderComponent } from './base/base-header/base-header.component';
import { BaseFooterComponent } from './base/base-footer/base-footer.component';
import { IndexComponent } from './index/index.component';
import { MorefunctionComponent } from './index/morefunction/morefunction.component';
import { CarouselComponent } from './index/carousel/carousel.component';
import { CollageComponent } from './index/collage/collage.component';
import { ReadComponent } from './index/read/read.component';
import { ServiceComponent } from './index/service/service.component';
import { BaseLoginComponent } from './base/base-login/base-login.component';
import { BaseRegisterComponent } from './base/base-register/base-register.component';

@NgModule({
  declarations: [
    AppComponent,
    BaseHeaderComponent,
    BaseFooterComponent,
    IndexComponent,
    MorefunctionComponent,
    MorefunctionComponent,
    CarouselComponent,
    CollageComponent,
    ReadComponent,
    ServiceComponent,
    BaseRegisterComponent,
    BaseLoginComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    AppRoutingModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
